﻿<%@ Page Language="C#" MasterPageFile="~/Site1.Master" AutoEventWireup="true" CodeBehind="AddMeeting.aspx.cs" Inherits="WebApplication1.AddMeeting1" Title="Untitled Page" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
    <style type="text/css">
        .style34
        {
            width: 561px;
        }
    </style>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
    <table>
        <tr>
            <td>
            </td>
            <td>
            </td>
            <td class="style34">
                <asp:Label ID="lblAddMeetingMsg" runat="server" Font-Bold="True" 
                    Font-Names="Arial" Font-Size="Larger" ForeColor="Red"></asp:Label>
            </td>
        </tr>
        <tr>
            <td>
            </td>
            <td>
                Committee Name</td>
            <td class="style34">
                <asp:DropDownList ID="ddlMeetingCommitteeName" runat="server" Width="334px">
                </asp:DropDownList>
                <asp:HyperLink ID="HyperLink1" runat="server" NavigateUrl="~/AddCommittee.aspx">Add 
                A new Committee</asp:HyperLink>
            </td>
        </tr>
        
        <td>
            </td>
            <td>
                <asp:Label ID="Label9" runat="server" Text="Chaired By"></asp:Label>
            </td>
            <td class="style34">
                <asp:DropDownList ID="ddlMeetingChairedBy" runat="server" Width="335px">
                </asp:DropDownList>
                <asp:HyperLink ID="HyperLink2" runat="server" NavigateUrl="~/AddMember.aspx">Add 
                A New Member</asp:HyperLink>
            </td>
        </tr>
        <tr>
            <td>
            </td>
            <td>
                <asp:Label ID="Label1" runat="server" Text="Meeting Type"></asp:Label>
            </td>
            <td class="style34">
                <asp:DropDownList ID="ddlMeetingType" runat="server" Width="203px">
                    <asp:ListItem>MonthlyMeeting</asp:ListItem>
                    <asp:ListItem>AnnualGeneralMeeting(AGM)</asp:ListItem>
                    <asp:ListItem>SpecialMonthlyMeeting</asp:ListItem>
                    <asp:ListItem>SpecialAnnualGeneralMeeting</asp:ListItem>
                </asp:DropDownList>
            </td>
        </tr>
        <tr>
            <td>
            </td>
            <td>
                <asp:Label ID="Label10" runat="server" Text="Helda At"></asp:Label>
            </td>
            <td class="style34">
                <asp:TextBox ID="txtMeetingHeldAt" runat="server" Width="330px"></asp:TextBox>
            </td>
        </tr>
        <tr>
            <td>
            </td>
            <td>
                <asp:Label ID="Label11" runat="server" Text="Held On"></asp:Label>
            </td>
            <td class="style34">
                <asp:TextBox ID="txtMeetingHeldOn" runat="server"></asp:TextBox>
                <asp:CompareValidator ID="cvAddMeetingHeldOn" runat="server" 
                    ControlToValidate="txtMeetingHeldOn" 
                    ErrorMessage="Entered data is not in the expected format.Please follow 'mm/dd/yyyy' format" 
                    ondatabinding="btnMeetingSubmit_Click" Operator="DataTypeCheck" Type="Date"></asp:CompareValidator>
            </td>
        <tr>
            <td>
            </td>
            <td>
                <asp:Label ID="Label8" runat="server" Text="Description"></asp:Label>
            </td>
            <td class="style34">
                <asp:TextBox ID="txtMeetingDesc" runat="server" Height="159px" 
                    TextMode="MultiLine" Width="495px"></asp:TextBox>
            </td>
        </tr>
        
        <tr>
            <td>
            </td>
            <td>
                <asp:Button ID="btnMeetingSubmit" runat="server" Text="Submit" 
                    onclick="btnMeetingSubmit_Click" />
            </td>
            <td class="style34">
                <asp:Button ID="btnMeetingMinutes" runat="server" Text="Cancel" />
            </td>
        </tr>
    </table>
</asp:Content>
